package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 首页轮播图对象 index_url
 * 
 * @author ruoyi
 * @date 2021-07-24
 */
public class IndexUrl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 首页轮播图id */
    private Long id;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgUrl;

    /** 网址地址 */
    @Excel(name = "网址地址")
    private String webSite;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 状态 0禁用 1启用 */
    @Excel(name = "状态 0禁用 1启用")
    private Integer state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setWebSite(String webSite) 
    {
        this.webSite = webSite;
    }

    public String getWebSite() 
    {
        return webSite;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setState(Integer state) { this.state = state; }

    public Integer getState() { return state; }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imgUrl", getImgUrl())
            .append("webSite", getWebSite())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("state", getState())
            .toString();
    }
}
